package com.waypolice.manager.service.impl;

import com.waypolice.base.BaseServiceImpl;
import com.waypolice.manager.service.UpmsFondsManageService;
import com.waypolice.mapper.UpmsFondsManageMapper;
import com.waypolice.pojo.UpmsFondsManage;
import com.waypolice.pojo.UpmsFondsManageExample;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
* UpmsFondsManageService实现
* Created by shuzheng on 2018/3/13.
*/
@Service
public class UpmsFondsManageServiceImpl extends BaseServiceImpl<UpmsFondsManageMapper, UpmsFondsManage, UpmsFondsManageExample> implements UpmsFondsManageService {

    private static final Logger LOGGER = LoggerFactory.getLogger(UpmsFondsManageServiceImpl.class);

    @Autowired
    UpmsFondsManageMapper upmsFondsManageMapper;

    @Override
    public int insertSelectFondsId(UpmsFondsManage record) {
        upmsFondsManageMapper.insertSelectFondsId(record);
        return record.getFondsId();
    }
}